Integrand size = 21, antiderivative size = 80 \[ \int \frac {x \left (a+b \sec ^{-1}(c x)\right )}{\left (d+e x^2\right )^{3/2}} \, dx=-\frac {a+b \sec ^{-1}(c x)}{e \sqrt {d+e x^2}}-\frac {b c x \arctan \left (\frac {\sqrt {d+e x^2}}{\sqrt {d} \sqrt {-1+c^2 x^2}}\right )}{\sqrt {d} e \sqrt {c^2 x^2}} \]
-b*c*x*arctan((e*x^2+d)^(1/2)/d^(1/2)/(c^2*x^2-1)^(1/2))/e/d^(1/2)/(c^2*x^ 2)^(1/2)+(-a-b*arcsec(c*x))/e/(e*x^2+d)^(1/2)
Result contains higher order function than in optimal. Order 6 vs. order 3 in optimal.
Time = 0.24 (sec) , antiderivative size = 79, normalized size of antiderivative = 0.99 \[ \int \frac {x \left (a+b \sec ^{-1}(c x)\right )}{\left (d+e x^2\right )^{3/2}} \, dx=\frac {-b \sqrt {1+\frac {d}{e x^2}} \operatorname {AppellF1}\left (1,\frac {1}{2},\frac {1}{2},2,\frac {1}{c^2 x^2},-\frac {d}{e x^2}\right )-2 c x \left (a+b \sec ^{-1}(c x)\right )}{2 c e x \sqrt {d+e x^2}} \]
(-(b*Sqrt[1 + d/(e*x^2)]*AppellF1[1, 1/2, 1/2, 2, 1/(c^2*x^2), -(d/(e*x^2) )]) - 2*c*x*(a + b*ArcSec[c*x]))/(2*c*e*x*Sqrt[d + e*x^2])
Time = 0.29 (sec) , antiderivative size = 80, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.190, Rules used = {5759, 354, 104, 217}
Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.
\(\displaystyle \int \frac {x \left (a+b \sec ^{-1}(c x)\right )}{\left (d+e x^2\right )^{3/2}} \, dx\) |
\(\Big \downarrow \) 5759 |
\(\displaystyle \frac {b c x \int \frac {1}{x \sqrt {c^2 x^2-1} \sqrt {e x^2+d}}dx}{e \sqrt {c^2 x^2}}-\frac {a+b \sec ^{-1}(c x)}{e \sqrt {d+e x^2}}\) |
\(\Big \downarrow \) 354 |
\(\displaystyle \frac {b c x \int \frac {1}{x^2 \sqrt {c^2 x^2-1} \sqrt {e x^2+d}}dx^2}{2 e \sqrt {c^2 x^2}}-\frac {a+b \sec ^{-1}(c x)}{e \sqrt {d+e x^2}}\) |
\(\Big \downarrow \) 104 |
\(\displaystyle \frac {b c x \int \frac {1}{-x^4-d}d\frac {\sqrt {e x^2+d}}{\sqrt {c^2 x^2-1}}}{e \sqrt {c^2 x^2}}-\frac {a+b \sec ^{-1}(c x)}{e \sqrt {d+e x^2}}\) |
\(\Big \downarrow \) 217 |
\(\displaystyle -\frac {a+b \sec ^{-1}(c x)}{e \sqrt {d+e x^2}}-\frac {b c x \arctan \left (\frac {\sqrt {d+e x^2}}{\sqrt {d} \sqrt {c^2 x^2-1}}\right )}{\sqrt {d} e \sqrt {c^2 x^2}}\) |
-((a + b*ArcSec[c*x])/(e*Sqrt[d + e*x^2])) - (b*c*x*ArcTan[Sqrt[d + e*x^2] /(Sqrt[d]*Sqrt[-1 + c^2*x^2])])/(Sqrt[d]*e*Sqrt[c^2*x^2])
3.2.43.3.1 Defintions of rubi rules used
Int[(((a_.) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_))/((e_.) + (f_.)*(x _)), x_] :> With[{q = Denominator[m]}, Simp[q Subst[Int[x^(q*(m + 1) - 1) /(b*e - a*f - (d*e - c*f)*x^q), x], x, (a + b*x)^(1/q)/(c + d*x)^(1/q)], x] ] /; FreeQ[{a, b, c, d, e, f}, x] && EqQ[m + n + 1, 0] && RationalQ[n] && L tQ[-1, m, 0] && SimplerQ[a + b*x, c + d*x]
Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(-(Rt[-a, 2]*Rt[-b, 2])^( -1))*ArcTan[Rt[-b, 2]*(x/Rt[-a, 2])], x] /; FreeQ[{a, b}, x] && PosQ[a/b] & & (LtQ[a, 0] || LtQ[b, 0])
Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^2)^(p_.)*((c_) + (d_.)*(x_)^2)^(q_.), x_S ymbol] :> Simp[1/2 Subst[Int[x^((m - 1)/2)*(a + b*x)^p*(c + d*x)^q, x], x , x^2], x] /; FreeQ[{a, b, c, d, p, q}, x] && NeQ[b*c - a*d, 0] && IntegerQ [(m - 1)/2]
Int[((a_.) + ArcSec[(c_.)*(x_)]*(b_.))*(x_)*((d_.) + (e_.)*(x_)^2)^(p_.), x _Symbol] :> Simp[(d + e*x^2)^(p + 1)*((a + b*ArcSec[c*x])/(2*e*(p + 1))), x ] - Simp[b*c*(x/(2*e*(p + 1)*Sqrt[c^2*x^2])) Int[(d + e*x^2)^(p + 1)/(x*S qrt[c^2*x^2 - 1]), x], x] /; FreeQ[{a, b, c, d, e, p}, x] && NeQ[p, -1]
\[\int \frac {x \left (a +b \,\operatorname {arcsec}\left (c x \right )\right )}{\left (e \,x^{2}+d \right )^{\frac {3}{2}}}d x\]
Time = 0.31 (sec) , antiderivative size = 283, normalized size of antiderivative = 3.54 \[ \int \frac {x \left (a+b \sec ^{-1}(c x)\right )}{\left (d+e x^2\right )^{3/2}} \, dx=\left [-\frac {{\left (b e x^{2} + b d\right )} \sqrt {-d} \log \left (\frac {{\left (c^{4} d^{2} - 6 \, c^{2} d e + e^{2}\right )} x^{4} - 8 \, {\left (c^{2} d^{2} - d e\right )} x^{2} - 4 \, \sqrt {c^{2} x^{2} - 1} {\left ({\left (c^{2} d - e\right )} x^{2} - 2 \, d\right )} \sqrt {e x^{2} + d} \sqrt {-d} + 8 \, d^{2}}{x^{4}}\right ) + 4 \, \sqrt {e x^{2} + d} {\left (b d \operatorname {arcsec}\left (c x\right ) + a d\right )}}{4 \, {\left (d e^{2} x^{2} + d^{2} e\right )}}, -\frac {{\left (b e x^{2} + b d\right )} \sqrt {d} \arctan \left (-\frac {\sqrt {c^{2} x^{2} - 1} {\left ({\left (c^{2} d - e\right )} x^{2} - 2 \, d\right )} \sqrt {e x^{2} + d} \sqrt {d}}{2 \, {\left (c^{2} d e x^{4} + {\left (c^{2} d^{2} - d e\right )} x^{2} - d^{2}\right )}}\right ) + 2 \, \sqrt {e x^{2} + d} {\left (b d \operatorname {arcsec}\left (c x\right ) + a d\right )}}{2 \, {\left (d e^{2} x^{2} + d^{2} e\right )}}\right ] \]
[-1/4*((b*e*x^2 + b*d)*sqrt(-d)*log(((c^4*d^2 - 6*c^2*d*e + e^2)*x^4 - 8*( c^2*d^2 - d*e)*x^2 - 4*sqrt(c^2*x^2 - 1)*((c^2*d - e)*x^2 - 2*d)*sqrt(e*x^ 2 + d)*sqrt(-d) + 8*d^2)/x^4) + 4*sqrt(e*x^2 + d)*(b*d*arcsec(c*x) + a*d)) /(d*e^2*x^2 + d^2*e), -1/2*((b*e*x^2 + b*d)*sqrt(d)*arctan(-1/2*sqrt(c^2*x ^2 - 1)*((c^2*d - e)*x^2 - 2*d)*sqrt(e*x^2 + d)*sqrt(d)/(c^2*d*e*x^4 + (c^ 2*d^2 - d*e)*x^2 - d^2)) + 2*sqrt(e*x^2 + d)*(b*d*arcsec(c*x) + a*d))/(d*e ^2*x^2 + d^2*e)]
\[ \int \frac {x \left (a+b \sec ^{-1}(c x)\right )}{\left (d+e x^2\right )^{3/2}} \, dx=\int \frac {x \left (a + b \operatorname {asec}{\left (c x \right )}\right )}{\left (d + e x^{2}\right )^{\frac {3}{2}}}\, dx \]
\[ \int \frac {x \left (a+b \sec ^{-1}(c x)\right )}{\left (d+e x^2\right )^{3/2}} \, dx=\int { \frac {{\left (b \operatorname {arcsec}\left (c x\right ) + a\right )} x}{{\left (e x^{2} + d\right )}^{\frac {3}{2}}} \,d x } \]
-(sqrt(e*x^2 + d)*e*integrate((c^2*e*x^3*log(c) - e*x*log(c) + ((c^2*log(c ) - c^2)*e*x^3 - (c^2*d + e*log(c))*x)*e^(log(c*x + 1) + log(c*x - 1)) + ( c^2*e*x^3 - e*x + (c^2*e*x^3 - e*x)*e^(log(c*x + 1) + log(c*x - 1)))*log(x ))/((c^2*e^2*x^4 + (c^2*d*e - e^2)*x^2 - d*e + (c^2*e^2*x^4 + (c^2*d*e - e ^2)*x^2 - d*e)*e^(log(c*x + 1) + log(c*x - 1)))*sqrt(e*x^2 + d)), x) + arc tan(sqrt(c*x + 1)*sqrt(c*x - 1)))*b/(sqrt(e*x^2 + d)*e) - a/(sqrt(e*x^2 + d)*e)
\[ \int \frac {x \left (a+b \sec ^{-1}(c x)\right )}{\left (d+e x^2\right )^{3/2}} \, dx=\int { \frac {{\left (b \operatorname {arcsec}\left (c x\right ) + a\right )} x}{{\left (e x^{2} + d\right )}^{\frac {3}{2}}} \,d x } \]
Timed out. \[ \int \frac {x \left (a+b \sec ^{-1}(c x)\right )}{\left (d+e x^2\right )^{3/2}} \, dx=\int \frac {x\,\left (a+b\,\mathrm {acos}\left (\frac {1}{c\,x}\right )\right )}{{\left (e\,x^2+d\right )}^{3/2}} \,d x \]